import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { AppSettingsRoutingModule } from './app-settings/app-settings-routing.module';
import { HomeRoutingModule } from './home/home-routing.module';

const routes: Routes = [
    {
        path: '',
        redirectTo: 'home',
        pathMatch: 'full'
    },
    // {
    //   path: '**',
    //   component: PageNotFoundComponent
    // }
];

@NgModule({
    imports: [
        RouterModule.forRoot(routes),
        AppSettingsRoutingModule,
        HomeRoutingModule
    ],
    exports: [RouterModule]
})
export class AppRoutingModule { }
